main()
{
    int i;//lekai
    for(i=1002;i<1111;i++)
    if(i%10*1000+i/10%10*100+i/100%10*10+i/1000==i*9)
    printf("The nnumber satisfied states condition is: %d\n",i);
}